/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						        resource_file.h

	$Header: /game/resource_file.h $

	$NoKeywords: $

 ************************************************************************/
// resource_file.h: interface for the t_resource_file class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(RESOURCE_FILE_H_INCLUDED)
#define RESOURCE_FILE_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "abstract_resource_file.h"
#include "shared_file_ptr.h"

// ------------------------------------------------------------------------------
// an aggregate file containing several resources in compressed form
// ------------------------------------------------------------------------------
class t_resource_file : public t_abstract_resource_file  
{
public:
	t_resource_file( t_shared_file_ptr file );
	virtual ~t_resource_file();

	virtual t_streambuf_ptr get_stream( int offset );
	virtual std::string get_filename();

protected:
	t_shared_file_ptr m_file;
};

#endif // !defined(RESOURCE_FILE_H_INCLUDED)
